import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";


// 导入 QQ SDK
import { QC } from '@/libs/qc_jssdk.js'

import {
    Divider,
    Button,
    Card,
    Tabbar,
    TabbarItem,
    Icon,
    Swipe,
    SwipeItem,
    Image as VanImage,
    Field,
    Toast,
    SwipeCell,
    Checkbox,
    Stepper,
    SubmitBar,
    PullRefresh,
    List,
    Cell,
    CellGroup,
    GoodsAction,
    GoodsActionIcon,
    Sku,
    GoodsActionButton,
    Dialog
} from 'vant';
Vue.use(Field).use(VanImage).use(Toast).use(Card).use(SwipeCell)
    .use(Checkbox).use(Swipe).use(SwipeItem).use(Tabbar).use(TabbarItem)
    .use(Icon).use(Button).use(Stepper).use(SubmitBar).use(Divider).use(PullRefresh).use(List)
    .use(Cell).use(CellGroup).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton).use(Sku)
    .use(Dialog);
import 'lib-flexible'
import postcss from '../postcss.config'
Vue.config.productionTip = false;


//全局挂载 QQ
Vue.prototype.$QQ = QC


// 引入 全局 字体图标样式
import './assets/iconfont/iconfont.css'

new Vue({
    router,
    store,
    postcss,
    render: (h) => h(App),
}).$mount("#app");